import java.util.Scanner;

public class demo09 {
    public static void main(String[] args) {
        double max=0;
        double min=0;
        double mid=0;

        Scanner sc=new Scanner(System.in);
        System.out.println("请输入第一个数a:");
        int a= sc.nextInt();
        System.out.println("请输入第一个数b:");
        int b= sc.nextInt();
        System.out.println("请输入第一个数c:");
        int c= sc.nextInt();

        if (a>b && b>c){
           max=a;
        }

        if (b>a && b>c){
            max=b;
        }

        if (c>a && c>b){
             max=c;
        }

        if (a<b && a<c){
             min=a;
        }

        if (b<a && b<c){
             min=b;
        }

        if (c<b && c<a){
             min=c;
        }

        if (a<max && a>min){
            mid=a;
        }

        if (c<max && c>min){
            mid=c;
        }

        if (b<max && b>min){
            mid=b;
        }

        System.out.println(max +">" + mid +">"+min);
    }
}
